package lab01;

/**
 * Created by leovo on 2017/10/6.
 */
public class do_while循环 {

    public static void main(String[] args) {
        int i=1;
        int sum=0;
        do {sum=sum+i;
        i++;
        }
        while(i<=10); System.out.println(sum);
    }
}
